package com.fei.app.service.impl;

import com.fei.app.dao.DataImportDao;
import com.fei.app.model.CellList;
import com.fei.app.service.DataImportService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by lsd on 2017-05-09.
 */
@Service
public class DataImportServceImpl implements DataImportService{
    @Resource
    DataImportDao dataImportDao;
    public ArrayList findAll() {
        ArrayList list2 = new ArrayList();
        List<CellList> list = dataImportDao.findNeed();
        for (CellList cellList : list){
             list2.add(cellList.getCellName());
        }
        return list2;
    }

    public CellList cellListSave() {
        return null;
    }
}
